<!DOCTYPE HTML>
<html>
	<script>
		function a() {
			var i = 0;
			function b(n) {
				alert(n);
			}

			alert(i);
			return b;
		}

		var c = new a();
		c(5);
	</script>

</html>